package com.kgc.sbt.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: tzw
 * @Date: 2021/06/25/11:32
 * @Description:
 */
@Data
@ApiModel(value = "用户信息")
public class UserTT  implements Serializable {
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号",name = "id")
    private Integer id;

    /**
     * 手机账号
     */
    @ApiModelProperty(value = "用户手机号码",name = "phone")
    private String phone;



    /**
     * 昵称
     */
    @ApiModelProperty(value = "用户昵称",name = "nickname")
    private String nickname;



    /**
     * 头像路径
     */
    @ApiModelProperty(value = "用户头像",name = "headUrl")
    private String headUrl;

    /**
     * 性别
     */
    @ApiModelProperty(value = "用户性别,0-未知，1-男，2-女",name = "sex")
    private Integer sex;

    /**
     * 生日
     */
    @ApiModelProperty(value = "用户生日",name = "birthday",example = "2021-10-11")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;


    /**
     * 用户邮箱
     */
    @ApiModelProperty(value = "用户邮箱",name = "email")
    private String email;



    private static final long serialVersionUID = 1L;
}
